package com.gezi.admin.config.exception.type;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 参数异常
 * @Author 格子软件
 * @createDate 2024/2/10 09:00
 * @contact 公众号：格子软件 微信：13716343106 邮箱：1424529270@qq.com
 */
@Data
@NoArgsConstructor
public class ParamException extends RuntimeException {

    public ParamException(String msg) {
        super(msg);
    }

    public static ParamException getInstance(String msg){
        return new ParamException(msg);
    }
}
